package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 教师获得的国内外重要奖项对象 t_teacher_trophy_all
 * 
 * @author ruoyi
 * @date 2024-12-06
 */
public class TTeacherTrophyAll extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 奖项名称 */
    @Excel(name = "奖项名称")
    private String name;

    /** 获奖成果名称 */
    @Excel(name = "获奖成果名称")
    private String cgName;

    /** 获奖等级 */
    @Excel(name = "获奖等级")
    private String lev;

    /** 组织单位 */
    @Excel(name = "组织单位")
    private String unit;

    /** 组织单位类型 */
    @Excel(name = "组织单位类型")
    private String unitType;

    /** 获奖时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "获奖时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date getTime;

    /** 获奖教师姓名(排名) */
    @Excel(name = "获奖教师姓名(排名)")
    private String teacherOrder;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setCgName(String cgName) 
    {
        this.cgName = cgName;
    }

    public String getCgName() 
    {
        return cgName;
    }
    public void setLev(String lev) 
    {
        this.lev = lev;
    }

    public String getLev() 
    {
        return lev;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setUnitType(String unitType) 
    {
        this.unitType = unitType;
    }

    public String getUnitType() 
    {
        return unitType;
    }
    public void setGetTime(Date getTime) 
    {
        this.getTime = getTime;
    }

    public Date getGetTime() 
    {
        return getTime;
    }
    public void setTeacherOrder(String teacherOrder) 
    {
        this.teacherOrder = teacherOrder;
    }

    public String getTeacherOrder() 
    {
        return teacherOrder;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("cgName", getCgName())
            .append("lev", getLev())
            .append("unit", getUnit())
            .append("unitType", getUnitType())
            .append("getTime", getGetTime())
            .append("teacherOrder", getTeacherOrder())
            .toString();
    }
}
